<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>requirejs </title>
    <script src="plugins/requirejs.js" data-main="js/main"></script>
    <link href="css/index.css" rel="stylesheet">
    <script>
      require.config({
        //By default load any module IDs from js/lib
        baseUrl: 'js/',
        //except, if the module ID starts with "app",
        //load it from the js/app directory. paths
        //config is relative to the baseUrl, and
        //never includes a ".js" extension since
        //the paths config could be for a directory.
        paths: {
          jquery: [
            'https://cdn.bootcss.com/jquery/3.3.1/jquery.min',
            //If the CDN location fails, load from this location
            '../plugins/jquery.min'
          ],
          app: './app'
        }
      });
    </script>
</head>
<body>
  <div id="test"></div>
</body>
</html>
